//
//  NetworkResponseModel.m
//  SLDemo
//
//  Created by bocai on 2016/12/5.
//  Copyright © 2016年 Heracles. All rights reserved.
//

#import "NetworkResponseModel.h"

@implementation NetworkResponseModel

- (BOOL)isSuccessful
{
    if ([_returnCode isEqualToString:@"200"]) {
        return YES;
    }
    return NO;
}

- (NSString *)description
{
    return [NSString stringWithFormat:@"returnCode = %@ \nmsg = %@ \nsecure = %d \ndata = %@", _returnCode, _msg, _secure, _data];
}

@end
